<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class DawnTaskSettings extends Model
{
    /**
     * 与模型关联的表名
     */
    protected $table = 'dawn_task_settings';
    protected $fillable = [
        'user_id',
        'image_count',
        'random_location',
        'default_images',
        'feedback_enabled',
    ];

        /**
     * 自动转换的属性
     */
    protected $casts = [
        'user_id' => 'integer',
        'image_count' => 'integer',
        'random_location' => 'boolean',
        'default_images' => 'boolean',
        'feedback_enabled' => 'boolean',
        'created_at' => 'datetime:Y-m-d H:i:s',
        'updated_at' => 'datetime:Y-m-d H:i:s',
        'deleted_at' => 'datetime:Y-m-d H:i:s',
    ];

} 